package com.ioudi.digu.util;


public class IDUtil
{
    public static String createID(String user, String category)
    {
		user = Integer.toHexString(user.hashCode()) + Long.toHexString(System.currentTimeMillis());
		if(category != null)
		{
			user += Integer.toHexString(category.hashCode());
		}
		return user;
    }
    
    public static String bindID(String user, String oldId)
    {
		return Integer.toHexString(user.hashCode()) + oldId;
    }
    
    public static String getUserFromID(String id)
    {
    	return "";
    }
}
